from service.producer import Producer
from service.consumer import Consumer
from service.fetion_robot import FetionRobot

MAX_CSM_PROCESS_NUM = 6

if __name__ == '__main__':
	prod = Producer()
	fet_robot = FetionRobot()
	csms = [Consumer() for i in range(MAX_CSM_PROCESS_NUM)]
	for csm in csms:
		csm.start()
	prod.start()
	fet_robot.start()


	for csm in csms:
		csm.join()
	prod.join()
	fet_robot.join()

